/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.atomojo.auth.service.db;

import org.infoset.xml.ItemConstructor;
import org.infoset.xml.ItemDestination;
import org.infoset.xml.XMLException;

/**
 *
 * @author alex
 */
public interface XMLObject {

   void generate(ItemConstructor constructor,ItemDestination dest)
      throws XMLException;

   void generate(ItemConstructor constructor,ItemDestination dest,boolean contents)
      throws XMLException;
}
